error handling promises javascript

join shbcf.ru